<?php
namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated { public function handle($spe5a184, Closure $spcf9b92, $sp514068 = null) { if (Auth::guard($sp514068)->check()) { return redirect('/home'); } return $spcf9b92($spe5a184); } }